<?php defined('KOOWA') or die('Restricted access') ?>

<div class="an-se-pane an-se-rounded">
<?= $actions ?>
</div>

<div id="an-sblogs-post-pane" class="an-se-pane an-se-rounded">
	<h3 class="an-sblogs-post-title"><?=stripslashes($post->title) ?></h3>

	<?php if ( $post->numOfComments ) : ?>	
	<ul id="an-sblogs-post-meta">
		<li class="an-sblogs-post-meta">
		(<?= (int) $post->numOfComments ?> <?= @text('AN-SBLOGS-TOPIC-COMMENTS') ?>) - 		
		</li>
	</ul>	
	<?php endif; ?>
	
	<!-- START TOPIC AUTHOR -->
	<div id="an-sblogs-post-<?= $post->id ?>" class="an-sblogs-post an-se-rounded">
	
		<div class="an-sblogs-post-header">
			<div class="an-sblogs-post-actions">
				<li class="an-sblogs-post-meta">(<?= (int) $post->hits ?> <?= @text('AN-SE-MEDIUM-HITS') ?>)</li>
			</div>
		</div>
	
		<div class="an-sblogs-post-main">
			<div class="an-sblogs-post-avatar an-sblogs-post-author an-se-square">
				<?= @avatar($post->author)?>
			</div>
			
			<div class="an-sblogs-post-body an-se-text-body"><?= (stripslashes(@content($post->body))) ?></div>
			
			<div class="an-se-clr"></div>
		</div>
		
		<div class="an-sblogs-post-footer">
			<div class="an-discus-meta">
				<?= sprintf(@text('AN-SBLOGS-POST-STARTED-TIME-AGO-BY-AUTHOR'), @date($post->creationTime), @name($post->author)) ?>
			</div>
		</div>
	</div>
	<!-- END TOPIC AUTHOR -->
</div>

